package com.j2eefast.produce.pms.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.j2eefast.common.core.base.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 参建人员
 * pms_participant_user
 * @author: summer
 * @date 2021-05-29 10:28
 */
@Data
@TableName("pms_participant_user")
public class PmsParticipantUserEntity implements Serializable {

//    /** 主键 */
//    @TableId(value = "id",type = IdType.INPUT)
//    private Long id;

    /**编号*/
//    @TableField(value = "project_code")
    @TableId(value = "user_code",type = IdType.INPUT)
    @ExcelProperty(value = "编号",index = 0)
    private Long userCode;
    /** 名称 */
    @TableField(value = "user_name")
    @ExcelProperty(value = "名称",index = 1)
    private String userName;

    /** 手机 */
    @TableField(value = "iphone")
    @ExcelProperty(value = "手机",index = 2)
    private String iphone;
    /** 参建单位 */
    @TableField(value = "participant_unit")
    @ExcelProperty(value = "参建单位",index = 3)
    private String participantUnit;

    /** 证书编号 */
    @TableField(value = "certificate_code")
    @ExcelProperty(value = "证书编号",index = 4)
    private String certificateCode;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "update_time")
    @ExcelProperty(value = "更新时间",index = 8)
    private Date updateTime;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    @TableField(value = "create_time")
    @ExcelProperty(value = "登记时间",index = 6)
    private Date createTime;
//  创建者
    @TableField(value = "create_by")
    @ExcelProperty(value = "创建者",index = 5)
    private String createBy;
    /** 更新者 */
    @TableField(value = "update_by")
    @ExcelProperty(value = "更新者",index = 7)
    private String updateBy;
    /** 备注 */
    @TableField(value = "remark")
    @ExcelProperty(value = "备注",index = 9)
    private String remark;
















}
